package main

import "C"
import (
	"fmt"
	"time"
)

//export StartService
func StartService() {
	fmt.Printf("StartService\n")
}

//export RunService
func RunService() {
	go func() {
		for {
			time.Sleep(1000)
			fmt.Printf("RunService\n")
		}
	}()
}

//export EndService
func EndService() {
	fmt.Printf("EndService\n")
}

//export CallBack
func CallBack(callType int8, data interface{}) {
	fmt.Printf("EndService\n")
}

func main() {

}
